package com.xiang.entity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import cn.edu.fzxy.zxy.niceday.utils.RequestParameter;

public abstract class BaseEntity {
	public String appKey = "257005531";
	public String secret = "406885b132c1484383b36b475e8cefc7";
	public String url;
	public String sendData;
	public String sign;
	
	public List<RequestParameter> parameterList = new ArrayList<RequestParameter>();
	public Map<String, String> paramMap = new HashMap<String, String>();
	public abstract String getUrl();
	public abstract String getSendData();
	public abstract List<RequestParameter> getParameterList();
	public abstract String getSign();
	
	public List<RequestParameter> initParameterList() {
		parameterList.add(new RequestParameter("appkey", appKey));
//		parameterList.add(new RequestParameter("sign", "B3CB6C2117BD1D8B03728575A3FB209AFCF759A0"));
		return parameterList;
	}
}
